<div class="microblog" id='mblog_list'>
    <ul>
    {{foreach from=$mblogs item=v}}
        <li>
        <div class="userPic" style="max-width:150px"> <a href="/page/user/uid-{{$v.uid}}"><img class="avatar photo" src="{{$v.avatar|default:'/static/images/default.png'}}"></a>
        </div>
        <div class="userCont">
        <a href="/page/user/uid-{{$v.uid}}">{{$v.nickname}}</a>：{{$v.content}}<br />
        {{if $v.url_id!=0}}<img src="/static/images/world.png" align="absmiddle" /> 
          <a href="{{$urls[$v.url_id].url}}" target="_blank">{{$urls[$v.url_id].title}}</a><br />
        {{/if}}
        <span>发布于{{$v.addtime}}&nbsp;&nbsp;
		<img src="/static/images/icon_comment.gif" align="absmiddle" width="17" height="17" />
		<a href="/mblog/detail/{{$v.id}}">评论(<strong class="orange">{{$v.reply_count}}</strong>)</a></span>        
        {{if $v.pic_id!=0}}
        <div><a href="{{$pics[$v.pic_id].picture}}" rel="facebox">
		<img src="{{$pics[$v.pic_id].imagep}}" class="avatar" /></a>
        </div>{{/if}}        
        </div>
        </li>
    {{/foreach}}
    </ul>
<div class="clear"></div>
<div class="pages">{{$pager.render}}</div>
</div>